/**
 * 区域设置 编辑页
 *
 * 作者 admin
 * 日期 2024-07-31 14:35:47
 */
layui.use(['jquery','febs', 'form', 'validate','element'], function () {
    var $ = layui.$,
        febs = layui.febs,
        layer = layui.layer,
        form = layui.form,
        $view = $('#baseArea-edit'),
        $location = $view.find('#location'),
        validate = layui.validate;

    postPoints();
    function postPoints(){
        if(baseAreaData != null){
            let points = baseAreaData.areaCoordinate;
            localStorage.setItem("points",JSON.stringify(points));
        }else{
            let points = [];
            localStorage.setItem("points",JSON.stringify(points));
        }
    }

});